<template>
  <div id="app">
    <Header></Header>
    <div style="height:calc(100vh -  60px);">
      <Row style="display:flex;height:calc(100vh -  60px);">
        <Col style="width:240px;background:#515a6e">
          <Left></Left>
        </Col>
        <Col style="width:calc(100% - 240px);padding:10px;box-sizing:border-box;">
          <transition name="aaa">
            <router-view></router-view>
          </transition>
        </Col>
      </Row>
    </div>
  </div>
</template>

<script>
import { Header, Left } from "@/components";
export default {
  name: "app",
  data() {
    return {};
  },
  mounted() {},
  components: { Left, Header }
};
</script>

<style>
#app {
  font-family: "Avenir", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: #2c3e50;
}

.aaa-enter-active {
  transition: transform 0.2s;
}
.aaa-leave-active {
  display: none;
  transition: transform 0s;
}
.aaa-enter {
  transform: translateX(-2000px);
}
</style>
